<!DOCTYPE html>
<html lang="en">
<head>
    <title>Bootstrap</title>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1.0">
    <link href="css/bootstrap-2.3.css" rel="stylesheet">

    <!-- IE9兼容 -->
    <!-- [if llt IE 9]>
        <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif] -->

</head>
<body>

    <!-- container限制宽度，并居中 -->
    <div class="container">

        <h1 class="page-header">文本框的前缀与后缀</h1>
        <div class="input-prepend input-append">
            <span class="add-on">&yen;</span>
            <input type="text">
            <span class="add-on">.00</span>
        </div>

        <div class="input-append">
            <input type="text">
            <input class="btn" type="button" value="搜索">
        </div>
    </div>

    <script src="js/jquery-3.1.1.js"></script>
    <script src="js/bootstrap-2.3.js"></script>
</body>
</html>